import api from "./api/api.js";
var resUrl, demandUrl;
export default class {
  constructor(appConfig) {
    // resUrl = appConfig.getResUrl();
    // demandUrl = appConfig.getDemandUrl();
  }

}

function parseUrlItem(content, tag1, tag2) {
  let index1 = content.indexOf(tag1);
  if (index1 > -1) {
    let start = index1 + tag1.length;
    let index2 = content.indexOf(tag2, start);
    if (index2 > -1) {
      return content.substring(start, index2);
    }
  }
  return null;
}